package com.szxydb.dmp.admin.user.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javafx.scene.chart.ValueAxis;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_user_bill")
@ApiModel(value = "UserBill对象",description = "用户账单表")
public class UserBill implements Serializable {

    @ApiModelProperty(value = "用户账单id")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户uid")
    private Integer uid;

    @ApiModelProperty(value = "关联id")
    private String linkId;

    @ApiModelProperty(value = "0=支出 1=获得")
    private int pm;

    @ApiModelProperty(value = "账单标题")
    private String title;
    private String category;
    private String type;
    private BigDecimal number;
    private BigDecimal balance;
    private String mark;
    private Integer status;
    private Date updateTime;
    private Date createTime;
}
